package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_snow_garden_activity", autoSave = true, dataUpload = true, eventName = "ice_user")
public class LogSnowGardenDraw extends BaseLogEntity {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "积分", dataAttribute = "ice_score")
    private int score;
    @FieldTypeAnnotation(desc = "建筑总等级", dataAttribute = "ice_lv")
    private int buildingLevel;
    @FieldTypeAnnotation(desc = "等级加成", dataAttribute = "ice_add")
    private double radio;
    @FieldTypeAnnotation(desc = "抽奖结果")
    private String resultList;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogSnowGardenDraw(int activityId, long userId, int score, int buildingLevel, double radio, String resultList, Date time) {
        this.activityId = activityId;
        this.userId = userId;
        this.score = score;
        this.buildingLevel = buildingLevel;
        this.radio = radio;
        this.resultList = resultList;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getBuildingLevel() {
        return buildingLevel;
    }

    public void setBuildingLevel(int buildingLevel) {
        this.buildingLevel = buildingLevel;
    }

    public void setRadio(double radio) {
        this.radio = radio;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public double getRadio() {
        return radio;
    }

    public String getResultList() {
        return resultList;
    }

    public void setResultList(String resultList) {
        this.resultList = resultList;
    }
}
